home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Ofir's digest 13.06
- Date: Mon, 20 Jun 1994 09:50:13 +1000
- From: Warwick Allison <warwick@cs.uq.oz.au>
- Precedence: bulk
-
- Michael Nolte wrote:
-
- >Warwick Allison:
- >>Scrap the whole concept of an `Abandon' option. It makes more sense to
- >>just provide a Close option that gives `Cancel | Abandon | Save' options.
- >No. If I tell my machine "Close a window" I expect it to ask me, ...
- >... But throwing away changes and reloading the original contents of the
- >window has nothing to do with closing a window..
-
- Misunderstanding. I meant:
-
- CloseWindow =
- if (changed) {
- switch (ask_user) {
- case Cancel:
- do nothing
- break; case Abandon:
- close
- break; case Save:
- save, close
- }
- } else {
- close
- }
-
- I really meant SCRAP the idea of an `Abandon' which means:
-
- close, reload.
-
- Since this should at the very least be:
-
- AbandonWindow =
- if (changed) {
- switch (ask_user) {
- case Cancel:
- do nothing
- break; case Abandon:
- close, reload
- }
- } else {
- close, reload
- }
-
- ie. almost the same as above, except reloading the document. This is such
- an infrequently used option, it is only going to confuse the user, who has
- been using dozens of programs for which `Abandon' means `close without
- saving changes'.
-
-
- --
- Warwick
-